home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993…ch: Other People's Memory / ADC Developer CD (1993-03) (''Other People's Memory'')_iso / Dev.CD Mar 93.iso / Development Platforms / Apple II / Essentials / MPW IIGS Interfaces / AIIGSIncludes / E16.MediaControl < prev    next >
Encoding:
Text File  |  1992-03-04  |  6.4 KB  |  175 lines  |  [TEXT/MPS ]

  1. ;
  2. ; File: E16.MediaControl
  3. ;
  4. ;
  5. ; Copyright Apple Computer, Inc. 1991
  6. ; All Rights Reserved
  7. ;
  8.  
  9. ; Position unit types for MCGetPosition and other calls:
  10.  
  11. mcInChapters    EQU    1        ; Position is measured in chapters.
  12. mcInFrames    EQU    2        ; Position is measured in frames.
  13. mcInTimes    EQU    3        ; Position is measured in hours,minutes,seconds,blocks.
  14.  
  15.  
  16.  
  17. ; Control values for MCControl:
  18.  
  19. mcCInit        EQU    $0001        ; Initialize player.
  20. mcCEject    EQU    $0002        ; Eject disc.
  21. mcCVideoOn    EQU    $0003        ; Turn video on.
  22. mcCVideoOff    EQU    $0004        ; Turn video off.
  23. mcCDisplayOn    EQU    $0005        ; Turn video position display on.
  24. mcCDisplayOff    EQU    $0006        ; Turn video position display off.
  25. mcCBlankVideo    EQU    $0007        ; Blank video for next MCSearchTo.
  26. mcCDefaultCom    EQU    $0008        ; Set default communications.
  27. mcCLockDev    EQU    $0009        ; Set the device to locked.
  28. mcCUnLockDev    EQU    $000A        ; Unlock the device.
  29.  
  30. mcC8Data1Stop    EQU    $0028        ; Set 8 - data  1 - stop bit.
  31. mcC7Data1Stop    EQU    $0029        ; Set 7 - data  1 - stop bit.
  32. mcC6Data1Stop    EQU    $002A        ; Set 6 - data  1 - stop bit.
  33. mcC5Data1Stop    EQU    $002B        ; Set 5 - data  1 - stop bit.
  34. mcC8Data2Stop    EQU    $002C        ; Set 8 - data  2 - stop bit.
  35. mcC7Data2Stop    EQU    $002D        ; Set 7 - data  2 - stop bit.
  36. mcC6Data2Stop    EQU    $002E        ; Set 6 - data  2 - stop bit.
  37. mcC5Data2Stop    EQU    $002F        ; Set 5 - data  2 - stop bit.
  38.  
  39. mcCBaudDflt    EQU    $0032        ; Set baud rate to control panel setting.
  40. mcCBaud50    EQU    $0033        ; Set 50 baud.
  41. mcCBaud75    EQU    $0034        ; Set 75 baud.
  42. mcCBaud110    EQU    $0035        ; Set 110 baud.
  43. mcCBaud134    EQU    $0036        ; Set 134 baud.
  44. mcCBaud150    EQU    $0037        ; Set 150 baud.
  45. mcCBaud300    EQU    $0038        ; Set 300 baud.
  46. mcCBaud600    EQU    $0039        ; Set 600 baud.
  47. mcCBaud1200    EQU    $003A        ; Set 1200 baud.
  48. mcCBaud1800    EQU    $003B        ; Set 1800 baud.
  49. mcCBaud2400    EQU    $003C        ; Set 2400 baud.
  50. mcCBaud3600    EQU    $003D        ; Set 3600 baud.
  51. mcCBaud4800    EQU    $003E        ; Set 4800 baud.
  52. mcCBaud7200    EQU    $003F        ; Set 7200 baud.
  53. mcCBaud9600    EQU    $0040        ; Set 9600 baud.
  54. mcCBaud19200    EQU    $0041        ; Set 19200 baud.
  55.  
  56. mcCModem    EQU    $0064        ; Set to modem port.
  57. mcCPrinter    EQU    $0065        ; Set to printer port.
  58.  
  59. mcCIgnoreDS    EQU    $00C8        ; Ignore "disk switched" GSOS errors.
  60. mcCReportDS    EQU    $00C9        ; Report "disk switched" GSOS errors.
  61.  
  62.  
  63.  
  64. ; Values for MCGetFeatures:
  65.  
  66. mcFTypes    EQU    0        ; How the disc is organized (frames, chapters, etc.).
  67. mcFStep        EQU    1        ; Maximum fps speed value (normal is 255).
  68. mcFRecord    EQU    2        ; Device supports MCRecord.
  69. mcFVideo    EQU    3        ; Device supports toggling video.
  70. mcFEject    EQU    4        ; Device supports ejecting medium.
  71. mcFLock        EQU    5        ; Device supports user lock (locking user from physically
  72.                     ; operating the device).
  73. mcFVDisplay    EQU    6        ; Device supports video display of location.
  74. mcFVOverlay    EQU    7        ; No. of lines of overlay characters device supports.
  75. mcFVOChars    EQU    8        ; No. of chars/line supported by overlay.
  76. mcFVolume    EQU    9        ; Does volume control?
  77.  
  78.  
  79. ; Status values for MCGetStatus:
  80.  
  81. mcSUnknown    EQU    $0000        ; Player unable to determine this status.
  82.  
  83. mcSDeviceType    EQU    $0000        ; "Device type" selector.
  84. mcSLaserDisc    EQU    $0001        ; Video laser disc player.
  85. mcSCDAudio    EQU    $0002        ; Audio CD player.
  86. mcSCDLaserCD    EQU    $0003        ; Combination laser/CD player.
  87. mcSVCR        EQU    $0004        ; VCR.
  88. mcSCamCorder    EQU    $0005        ; Video camera.
  89.  
  90. mcSPlayStatus    EQU    $0001        ; "Play status" selector.
  91. mcSPlaying    EQU    $0001        ; The device is playing.
  92. mcSStill    EQU    $0002        ; The device is not playing (paused).
  93. mcSParked    EQU    $0003        ; The device is shut down.
  94.  
  95. mcSDoorStatus    EQU    $0002        ; "Player door" status.
  96. mcSDoorOpen    EQU    $0001
  97. mcSDoorClosed    EQU    $0002
  98.  
  99. mcSDiscType    EQU    $0003        ; "Disc type" selector.
  100. mcS_CLV        EQU    $0001
  101. mcS_CAV        EQU    $0002
  102. mcS_CDV        EQU    $0003
  103. mcS_CD        EQU    $0004
  104.  
  105. mcSDiscSize    EQU    $0004        ; "Disc size" selector.
  106. mcSDisc3inch    EQU    $0003
  107. mcSDisc5inch    EQU    $0005
  108. mcSDisc8inch    EQU    $0008
  109. mcSDisc12inch    EQU    $000C
  110.  
  111. mcSDiscSide    EQU    $0005        ; "Disc side" selector.
  112. mcSSideOne    EQU    $0001
  113. mcSSideTwo    EQU    $0002
  114.  
  115. mcSVolumeL    EQU    $0006        ; Current left volume selector.
  116. mcSVolumeR    EQU    $0007        ; Current right volume selector.
  117.  
  118.  
  119. ; Time parameter values for MCGetTimes:
  120.  
  121. mcElapsedTrack    EQU    $0000        ; Elapsed time on current track/chapter.
  122. mcRemainTrack    EQU    $0001        ; Remaining time on current track/chapter.
  123. mcElapsedDisc    EQU    $0002        ; Elapsed time on disc.
  124. mcRemainDisc    EQU    $0003        ; Remaining time on disc.
  125. mcTotalDisc    EQU    $0004        ; Total run time on disc.
  126. mcTotalFrames    EQU    $0005        ; Total number of frames on disc.
  127. mcTracks    EQU    $0006        ; Binary start and ending track numbers (bits 31-16 = ending,
  128.                     ; bits 15-0 = starting track number.)
  129. mcDiscID    EQU    $0007        ; returns a disc identifier
  130.  
  131.  
  132. ; Audio values:
  133.  
  134. mcAudioOff    EQU    $0000        ; Audio off.
  135. mcAudioRight    EQU    $0001        ; Audio thru right channel only.
  136. mcAudioLinR    EQU    $0002        ; Audio left in right only.
  137. mcAudioMinR    EQU    $0003        ; Audio mixed in right only.
  138. mcAudioRinL    EQU    $0004        ; Audio right in left only.
  139. mcAudioRinLR    EQU    $0005        ; Audio right in left and right.
  140. mcAudioReverse    EQU    $0006        ; Audio right in left, left in right.
  141. mcAudioRinLMR    EQU    $0007        ; Audio right in left, mixed in right.
  142. mcAudioLeft    EQU    $0008        ; Audio left channel only.
  143. mcAudioStereo    EQU    $0009        ; Audio both channels (in stereo).
  144. mcAudioLinLR    EQU    $000A        ; Audio left in left and right.
  145. mcAudioLinLMR    EQU    $000B        ; Audio left in left, mixed in right.
  146. mcAudioMinL    EQU    $000C        ; Audio mixed in left only.
  147. mcAudioMinLRinR    EQU    $000D        ; Audio mixed in left, right in right.
  148. mcAudioMinLLinR    EQU    $000E        ; Audio mixed in left, left in right.
  149. mcAudioMonaural    EQU    $000F        ; Audio mixed in left and right (monaural).
  150.  
  151.  
  152.  
  153. ; Error codes:
  154.  
  155. mcUnImp        EQU    $2601        ; Unimplemented for this device.
  156. mcNotApplic    EQU    $2601        ; <see UnImp>
  157. mcBadSpeed    EQU    $2602        ; Invalid speed specified.
  158. mcBadUnitType    EQU    $2603        ; Invalid unit type specified.
  159. mcTimeOutErr    EQU    $2604        ; Timed out during device read.
  160. mcNotLoaded    EQU    $2605        ; No driver is currently loaded.
  161. mcBadAudio    EQU    $2606        ; Invalid audio value.
  162. mcDevRtnError    EQU    $2607        ; Device returned error (unable to perform).
  163. mcUnRecStatus    EQU    $2608        ; Unrecognizable status from device.
  164. mcBadSelector    EQU    $2609        ; Invalid selector value specified.
  165. mcFunnyData    EQU    $260A        ; Funny data received (try again).
  166. mcInvalidPort    EQU    $260B        ; Invalid port specified.
  167. mcOnlyOnce    EQU    $260C        ; Scans only once.
  168. mcNoResMgr    EQU    $260D        ; Resource manager not active.
  169. mcItemNotThere    EQU    $260E        ; Item not found in database.
  170. mcWasShutDown    EQU    $260F        ; Media Control Toolset was already shut down.
  171. mcWasStarted    EQU    $2610        ; Media Control Toolset was already started.
  172. mcBadChannel    EQU    $2611        ; Invalid channel number.
  173. mcInvalidParam    EQU    $2612        ; Invalid parameter.
  174. mcCallNotSupported EQU    $2613        ; Call is not supported.
  175.